#include "MySetting.h"

MySetting::MySetting()
{
    this->motor_direction[1] = 1;       //left wheel
    this->motor_direction[2] = -1;      //right wheel
    this->encoder_direction = 1;
    
    this->ratio = 0.2;                    //减速比
    this->wheel_diameter = 0.05;
    
    this->encoder_wheel_d = 0.1;
    this->max_speed = 2.0;
    this->sample_interveal = 0.01;
    
    this->max_d_turn = this->getMaxDturn(100);
    if(this->max_d_turn < 5)this->max_d_turn = 5;
}

/* EOF */
